/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package facade;

import entities.Pyme;
import java.util.List;


/**
 *
 * @author Andrés Felipe
 */

public interface PymeFacadeRemote {

    void create(Pyme pyme);

    void edit(Pyme pyme);

    void remove(Pyme pyme);

    Pyme find(Object id);

    List<Pyme> findAll();

    List<Pyme> findRange(int[] range);

    int count();
    
    List<List<String>> getAllPymes();
    
    List<String> getEmailPyme(int pymeIdentification);
    
    String getNamePyme(int pymeIdentification);
    
    Integer getIdPyme(String namePyme);
}
